package tedu.study.Day05_2;

public class ForDemo {
    public static void main(String[] args) {


        /*for(int i=1;i<=9;i++){
            System.out.println(i+"*9="+i*9);
        }*/

        /*int i=1;
        for(;i<=9;i++){
            System.out.println(i+"*9="+i*9);
        }*/

        /*for(int i=1;i<=9;){
            System.out.println(i+"*9="+i*9);
            i++;
        }*/

        /*int i=1;
        for(;i<=9;){
            System.out.println(i+"*9="+i*9);
            i++;
        }*/

        /*int i=1;
        for(;;){
            System.out.println(i+"*9="+i*9);
            i++;
        }*/

        for(int i=1,j=10;i<=9&&j>5;i++,j--){
            System.out.println(i+"*9="+i*9);
        }


        /*int sum = 0;
        for(int i=1;i<=100;i++){
            sum += i;
        }
        System.out.println(sum);
        String s = "aaa";*/
    }
}
